package cn.com.zero.sample.user.service;

import cn.com.zero.sample.user.vo.UserInfo;

/**
 * @author zhoupeng
 * @version 1.0.0
 * @Description
 * @createTime 2022-07-11
 */
public interface UserService {

    UserInfo register(String username, String password, String nick);

    UserInfo login(String username, String password);

    void sendRegisterCode(String phone);

    String registerByPhone(String phone, String verificationCode);

    void sendLoginCode( String phone);

    String loginByPhone(String phone, String verificationCode);

}
